package store.service;

import java.util.List;

import store.domain.Order;
import store.domain.PageModel;
import store.domain.User;

public interface OrderService {

	public void saveOrder(Order order) throws Exception;

	public PageModel findMyOrdersWithPage(User user, int curNum)throws Exception;

	public Order findOrderByOid(String oid)throws Exception;

	public void updateOrder(Order order)throws Exception;

	public List<Order> findOrders()throws Exception;

	public List<Order> findOrders(String state)throws Exception;

}
